/*
 * @Author: 陈伟 chenwei@duoliheng.com
 * @Date: 2022-07-13 10:56:14
 * @LastEditors: 陈伟 chenwei@duoliheng.com
 * @LastEditTime: 2022-11-04 14:47:04
 * @FilePath: \cool.front\src\router\orderCenter.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Layout from '@/layout/index'

export default [
  {
    path: '/orderCenter',
    name: 'orderCenter',
    component: Layout,
    meta: { title: '订单中心', icon: 'menu-orderCenter', menuId: 3, showIndex: 2 },
    children: [
      {
        path: 'orderManage',
        name: 'orderManage',
        component: () => import('@/views/orderCenter/orderManage/index'),
        meta: { title: '订单查询', menuId: 301, showIndex: 2 }
      },
      {
        path: 'batchDispath',
        name: 'batchDispath',
        component: () => import('@/views/orderCenter/batchDispath/index'),
        meta: { title: '批量派单', menuId: 302, showIndex: 3 }
      },
      {
        path: 'wechatOrderManage',
        name: 'wechatOrderManage',
        component: () => import('@/views/orderCenter/wechatOrderManage/index'),
        meta: { title: '在线订单处理', menuId: 306, showIndex: 4 }
      },
      {
        path: 'gasPartOrder',
        name: 'gasPartOrder',
        component: () => import('@/views/orderCenter/gasPartOrder/index'),
        meta: { title: '燃气配件订单', menuId: 308, showIndex: 4 }
      },
      // {
      //   path: 'receiptManage',
      //   name: 'receiptManage',
      //   hidden: true,
      //   component: () => import('@/views/orderCenter/receiptManage/index'),
      //   meta: { title: '签收单查询', menuId: 303, showIndex: 6 }
      // },
      {
        path: 'backOrderManage',
        name: 'backOrderManage',
        component: () => import('@/views/orderCenter/backOrderManage/index'),
        meta: { title: '退单处理', menuId: 303, showIndex: 7 }
      },
      {
        path: 'refundsManage',
        name: 'refundsManage',
        component: () => import('@/views/orderCenter/refundsManage/index'),
        meta: { title: '退货单', menuId: 304, showIndex: 8 }
      },
      {
        path: 'recoveryManage',
        name: 'recoveryManage',
        component: () => import('@/views/orderCenter/recoveryManage/index'),
        meta: { title: '回收单', menuId: 305, showIndex: 13 }
      },
      {
        path: 'wholeSales',
        name: 'wholeSales',
        component: () => import('@/views/orderCenter/wholeSales/index'),
        meta: { title: '批发销售', menuId: 312, showIndex: 4 }
      },
      {
        path: 'ordersTactics',
        name: 'ordersTactics',
        component: () => import('@/views/orderCenter/ordersTactics/index'),
        meta: { title: '派单策略', menuId: 307, showIndex: 9 }
      },
      {
        path: 'orderReceipt',
        name: 'orderReceipt',
        component: () => import('@/views/orderCenter/orderReceipt/index'),
        meta: { title: '订单回执处理', menuId: 309, showIndex: 10 }
      },
      {
        path: 'repairOrder',
        name: 'repairOrder',
        component: () => import('@/views/workOrderCenter/repairOrder/index'),
        meta: { title: '报修单处理', menuId: 310, showIndex: 11 }
      },
      {
        path: 'complaintManage',
        name: 'complaintManage',
        component: () => import('@/views/workOrderCenter/complaintManage/index'),
        meta: { title: '投诉查询', menuId: 311, showIndex: 12 }
      },
      {
        path: 'returnBottle',
        name: 'returnBottle',
        component: () => import('@/views/workOrderCenter/returnManage/index'),
        meta: { title: '预约退瓶单', menuId: 313, showIndex: 13 }
      }
      // {
      //   path: 'sendOrdersSetting',
      //   name: 'sendOrdersSetting',
      //   component: () => import('@/views/orderCenter/sendOrdersSetting/index'),
      //   meta: { title: '自动派单配置', menuId: 308, showIndex: 10 }
      // }
    ]
  }
]
